<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>产品管理</title>
<link rel="stylesheet" type="text/css" href="css/Iframe.css" />
<link rel="stylesheet" href="utilLib/bootstrap.min.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$.getJSON(uri+"?op=status", function(result){
     $("#playernum").html(result.heap);
	 $("#sessionnum").html(result.maxHeap)
  });
$("#refresh").click(function(e) {
    $.getJSON(uri+"?op=status", function(result){
     $("#playernum").html(result.heap);
	 $("#sessionnum").html(result.maxHeap)
  });
    return false;
});
});
</script>
</head>

<body>
<span class="cp_title">服务器状态</span>
<div class="add_cp">
	<a href="#" id="refresh">刷新</a>
</div>
<div class="table_con">
	<table>
    	<tr class="tb_title">
        	<td width="10%">键</td>
            <td >值</td>
          
        </tr>
        <tr>
        	<td width="10%">当前堆内存</td>
            <td id="playernum">0</td>
          
        </tr>
        <tr>
        	<td width="10%">堆内存上限</td>
            <td id="sessionnum">0</td>
           
        </tr>
  
    </table>
</div>
</body>
</html>
